#ifndef _RENDER
#define _RENDER

// DEFINES ---------------------------------------------------------------------------
#define OPENGL // pick OpenGL as the renderer

// INCLUDES --------------------------------------------------------------------------
#include "Base.h"

// rasterization platform
#ifdef OPENGL
  // OpenGL
  #include "OpenGL/gl.h"
  #include "OpenGL/glu.h"
  #include "OpenGL/glext.h"
#endif // OPENGL

// FUNCTIONS -------------------------------------------------------------------------
void RenderCalculateFPS();                    // calculate current Fps-rate

void RenderInit();                            // setup rasterization platform

void RenderViewport(ui32 width, ui32 height); // setup viewport
void RenderSetCamera();                       // setup camera parameters

void RenderClear();                           // clear screen
void RenderFlush();                           // flush rasterization pipeline

#endif // _RENDER
